package com.ydy.service.book;

import com.ydy.model.Book;
import com.ydy.model.Staff;
import com.ydy.model.User;
import com.ydy.vo.other.BaseVo;
import com.ydy.vo.other.PageVo;

public interface BookService {

	PageVo<Book> select(Book book, Staff staff, Integer page, Integer size);

	PageVo<Book> list(Book book, User user, Integer page, Integer size);

	Book save(Book book, User user);

	BaseVo delete(Long id, User user);

	Book selectById(Long id);

}
